package routerGroup

import (
	"github.com/gin-gonic/gin"
	"goFunc/api"
)

func Router(router *gin.RouterGroup) {
	userRouter := router.Group("user")
	{
		userRouter.POST("register", api.Register) //登陆接口
		userRouter.POST("login", api.Login)       //登陆接口
	}
}
